import fetch from '../utils/fetch'

export function getOrderListApi (params) {
  return fetch({
    url: '/liukeyi/inf/infOrder/orderList',
    method: 'get',
    params
  })
}

export function getDetailsByIdApi (params) {
  return fetch({
    url: '/liukeyi/inf/infOrder/getOrderByOrderIdInfo',
    method: 'get',
    params
  })
}

export function delOrderByIdApi (params) {
  return fetch({
    url: '/liukeyi/inf/infOrder/delOrder',
    method: 'get',
    params
  })
}